package com.ruoyi.ptsp.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 拼团统计对象 pttj
 * 
 * @author ruoyi
 * @date 2024-08-07
 */
public class Pttj extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 头像 */
    @Excel(name = "头像")
    private String tx;

    /** 发起用户 */
    @Excel(name = "发起用户")
    private String fqyh;

    /** 开团时间 */
    @Excel(name = "开团时间")
    private String ktsj;

    /** 拼团人数 */
    @Excel(name = "拼团人数")
    private String ptrs;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date jssj;

    /** 拼团状态 */
    @Excel(name = "拼团状态")
    private Long ptzt;

    /** 活动参与人数 */
    @Excel(name = "活动参与人数")
    private String hdcyrs;

    /** 推广人数 */
    @Excel(name = "推广人数")
    private String tgrs;

    /** 发起拼团数 */
    @Excel(name = "发起拼团数")
    private String fqpts;

    /** 成团数 */
    @Excel(name = "成团数")
    private String cts;

    /** 支付订单额 */
    @Excel(name = "支付订单额")
    private String zfdde;

    /** 支付人数 */
    @Excel(name = "支付人数")
    private String zfrs;

    /** 拼团id */
    @Excel(name = "拼团id")
    private Long pid;

    /** 金额 */
    @Excel(name = "金额")
    private String je;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String djbh;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTx(String tx) 
    {
        this.tx = tx;
    }

    public String getTx() 
    {
        return tx;
    }
    public void setFqyh(String fqyh) 
    {
        this.fqyh = fqyh;
    }

    public String getFqyh() 
    {
        return fqyh;
    }
    public void setKtsj(String ktsj) 
    {
        this.ktsj = ktsj;
    }

    public String getKtsj() 
    {
        return ktsj;
    }
    public void setPtrs(String ptrs) 
    {
        this.ptrs = ptrs;
    }

    public String getPtrs() 
    {
        return ptrs;
    }

    public Date getJssj() {
        return jssj;
    }

    public void setJssj(Date jssj) {
        this.jssj = jssj;
    }

    public void setPtzt(Long ptzt)
    {
        this.ptzt = ptzt;
    }

    public Long getPtzt() 
    {
        return ptzt;
    }
    public void setHdcyrs(String hdcyrs) 
    {
        this.hdcyrs = hdcyrs;
    }

    public String getHdcyrs() 
    {
        return hdcyrs;
    }
    public void setTgrs(String tgrs) 
    {
        this.tgrs = tgrs;
    }

    public String getTgrs() 
    {
        return tgrs;
    }
    public void setFqpts(String fqpts) 
    {
        this.fqpts = fqpts;
    }

    public String getFqpts() 
    {
        return fqpts;
    }
    public void setCts(String cts) 
    {
        this.cts = cts;
    }

    public String getCts() 
    {
        return cts;
    }
    public void setZfdde(String zfdde) 
    {
        this.zfdde = zfdde;
    }

    public String getZfdde() 
    {
        return zfdde;
    }
    public void setZfrs(String zfrs) 
    {
        this.zfrs = zfrs;
    }

    public String getZfrs() 
    {
        return zfrs;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setJe(String je) 
    {
        this.je = je;
    }

    public String getJe() 
    {
        return je;
    }
    public void setDjbh(String djbh) 
    {
        this.djbh = djbh;
    }

    public String getDjbh() 
    {
        return djbh;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tx", getTx())
            .append("fqyh", getFqyh())
            .append("ktsj", getKtsj())
            .append("ptrs", getPtrs())
            .append("jssj", getJssj())
            .append("ptzt", getPtzt())
            .append("hdcyrs", getHdcyrs())
            .append("tgrs", getTgrs())
            .append("fqpts", getFqpts())
            .append("cts", getCts())
            .append("zfdde", getZfdde())
            .append("zfrs", getZfrs())
            .append("pid", getPid())
            .append("je", getJe())
            .append("djbh", getDjbh())
            .toString();
    }
}
